package com.iqismart.shorturl.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description
 * @Auther sty
 * @createTime 2020-03-05 15:22
 */
@Controller
public class IndexController {

    @GetMapping("/")
    public String index(){
        return "redirect:/ui/index.html";
    }

    @GetMapping("/ui")
    public String index1(){
        return "redirect:/ui/index.html";
    }

    @GetMapping("/ui/")
    public String index2(){
        return "redirect:/ui/index.html";
    }
}
